<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="https://unpkg.com/vue@next"></script>
<body>
    <div id="root"></div>    
</body>
<script>
    const app = Vue.createApp({
     data() {
         return {
            show:false,
            condition: false
         }
     },
     methods: {
         
     },
     template: `
        <div v-if="show">hello world1</div>
        <div v-show="show">hello world2</div>
        <div v-if="condition">hello world3</div>
        <div v-else>hello world4</div>
     `
    })

    const vm = app.mount('#root')
 </script>
</html>

<!-- 
v-if
v-show

v-if
v-else


v-if
v-else-if
v-else
 -->
